<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
	<style type="text/css">
		#app {
		    display: flex;
		    justify-content: center;
		    align-items: center;
		    height: 100vh;
		}
	</style>
</head>
<body>
    
    <div id="app">
        
        <input type="text" v-model="message" @keyup.13="onClick">

    </div>

    <script src="js/vue.min.js"></script>
    <script>
        new Vue({
            el: "#app",
            data: {
                message: 'Hello'
            },
            methods: {
                onClick: function() {

                    console.log(this.message)
                }
            }
        })
    </script>
</body>
</html>